package com.ruoyi.project.mydy.cinemaplan.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 影院排片对象 dl_cinema_plan
 * 
 * @author mhg
 * @date 2021-10-07
 */
public class DlCinemaPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 电影院id */
    @Excel(name = "电影院id")
    private Long cinemaId;

    /** 展厅id */
    @Excel(name = "展厅id")
    private Long expoId;

    /** 时间段id */
    @Excel(name = "时间段id")
    private Long timeSlotId;

    /** 电影id */
    @Excel(name = "电影id")
    private Long movieId;

    /** 票价 */
    @Excel(name = "票价")
    private BigDecimal ticketPrice;

    /** 放映类型（0- 2D,  1- 3D） */
    @Excel(name = "放映类型", readConverterExp = "0=-,2=D,,1=-,3=D")
    private Long showType;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCinemaId(Long cinemaId)
    {
        this.cinemaId = cinemaId;
    }

    public Long getCinemaId()
    {
        return cinemaId;
    }
    public void setExpoId(Long expoId)
    {
        this.expoId = expoId;
    }

    public Long getExpoId()
    {
        return expoId;
    }
    public void setTimeSlotId(Long timeSlotId)
    {
        this.timeSlotId = timeSlotId;
    }

    public Long getTimeSlotId()
    {
        return timeSlotId;
    }
    public void setMovieId(Long movieId)
    {
        this.movieId = movieId;
    }

    public Long getMovieId()
    {
        return movieId;
    }
    public void setTicketPrice(BigDecimal ticketPrice)
    {
        this.ticketPrice = ticketPrice;
    }

    public BigDecimal getTicketPrice()
    {
        return ticketPrice;
    }
    public void setShowType(Long showType)
    {
        this.showType = showType;
    }

    public Long getShowType()
    {
        return showType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cinemaId", getCinemaId())
            .append("expoId", getExpoId())
            .append("timeSlotId", getTimeSlotId())
            .append("movieId", getMovieId())
            .append("ticketPrice", getTicketPrice())
            .append("showType", getShowType())
            .append("createTime", getCreateTime())
            .toString();
    }
}
